package com.pp.common;

public enum ErrorCode {


    SUCESS(0,"请求成功",""),
    NULL_ERROR(3000,"数据为空",""),
    PARAMS_ERROR(2000, "参数错误","" );
    private final  Integer  code;

    private final String message;

    public Integer getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }

    public String getDescription() {
        return description;
    }

    private final String description;

    ErrorCode(Integer code ,String message,String description){
        this.code=code;
        this.message=message;
        this.description=description;
    }


}
